﻿<%@ Page Language="C#" MasterPageFile="~/TeamManager.Master" AutoEventWireup="true" CodeBehind="EntityManagement.aspx.cs" Inherits="MonitoringServer.EntityManagement" Title="Untitled Page" %>

<%@ Register Assembly="MonitoringServer" Namespace="MonitoringServer" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="BodyContentPlaceHolder" runat="server">
  <cc1:InsertableGrid ID="InsertableGrid1" runat="server" AllowInsert="True" 
    AutoGenerateColumns="False" DataSourceID="EntitiesDataSource">
    <Columns>
      <asp:BoundField DataField="ID" HeaderText="ID" SortExpression="ID" />
      <asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
      <asp:BoundField DataField="Description" HeaderText="Description" 
        SortExpression="Description" />
      <asp:BoundField DataField="TeamID" HeaderText="TeamID" 
        SortExpression="TeamID" />
      <asp:BoundField DataField="EntityTypeID" HeaderText="EntityTypeID" 
        SortExpression="EntityTypeID" />
      <asp:CommandField InsertVisible="False" ShowDeleteButton="True" 
        ShowEditButton="True" />
    </Columns>
  </cc1:InsertableGrid>
  <asp:ObjectDataSource ID="EntitiesDataSource" runat="server" 
    SelectMethod="GetEntityList" TypeName="Dzzzr.Entity">
    <SelectParameters>
      <asp:Parameter DefaultValue="8" Name="gameID" Type="Int32" />
    </SelectParameters>
  </asp:ObjectDataSource>
</asp:Content>
